/**
 * 
 */
package ar.com.gtug.model;

import java.io.Serializable;

import javax.jdo.annotations.EmbeddedOnly;
import javax.jdo.annotations.PersistenceCapable;

/**
 * @author Juan M. Irungaray (juan@irungaray.com.ar)
 *
 */
@PersistenceCapable(detachable="true")
@EmbeddedOnly
public class Location implements Serializable{

	private String city;

	private String state;

	private String country;
	
	private Double latitude;

	private Double longitude;
	

	/**
	 * 
	 */
	public Location() {
		super();
	}

	/**
	 * @param city
	 * @param state
	 * @param country
	 * @param latitude
	 * @param longitude
	 */
	public Location(String city, String state, String country, Double latitude,
			Double longitude) {
		super();
		this.city = city;
		this.state = state;
		this.country = country;
		this.latitude = latitude;
		this.longitude = longitude;
	}

	public String getCity() {
		return city;
	}

	public void setCity(String city) {
		this.city = city;
	}

	public String getState() {
		return state;
	}

	public void setState(String state) {
		this.state = state;
	}

	public String getCountry() {
		return country;
	}

	public void setCountry(String country) {
		this.country = country;
	}

	public Double getLatitude() {
		return latitude;
	}

	public void setLatitude(Double latitude) {
		this.latitude = latitude;
	}

	public Double getLongitude() {
		return longitude;
	}

	public void setLongitude(Double longitude) {
		this.longitude = longitude;
	}
	
	
}
